<?php

namespace app\mall\ui\form;

/**
 * 门店账户表单
 */
class MallStoreAccountForm
{
    public function store_id()
    {
        return [
            'type' => 'number',
            'title' => '门店',
            'field' => 'store_id',
        ];
    }

    public function money()
    {
        return [
            'type' => 'input',
            'title' => '账户余额',
            'field' => 'money',
        ];
    }

    public function money_frozen()
    {
        return [
            'type' => 'input',
            'title' => '冻结资金',
            'field' => 'money_frozen',
        ];
    }

    public function money_total()
    {
        return [
            'type' => 'input',
            'title' => '总收益',
            'field' => 'money_total',
        ];
    }

    public function status()
    {
        return [
            'type' => 'radio',
            'options' =>
                [
                    [
                        'value' => 0,
                        'label' => '请选择',
                    ],
                ],
            'title' => '状态',
            'field' => 'status',
        ];
    }

    public function linkman()
    {
        return [
            'type' => 'input',
            'title' => '联系人',
            'field' => 'linkman',
        ];
    }

    public function phone()
    {
        return [
            'type' => 'input',
            'title' => '电话',
            'field' => 'phone',
        ];
    }

    public function address()
    {
        return [
            'type' => 'input',
            'title' => '地址',
            'field' => 'address',
        ];
    }
}